#ifndef EFFECTEDIT_H
#define EFFECTEDIT_H

#include <QObject>
#include <QString>
#include <QList>
#include <QColor>

class effectedit : public QObject
{
    Q_OBJECT
public:
    explicit effectedit(QObject *parent = nullptr);
    ~effectedit();

    QColor hsv2rgb(int h,int s,int v);

    QList<QColor> oneColor(int ledNum, QColor color);
//    QList<QColor> sectionRWL(int ledNum, int rwLedNum, int rwDelayFrame, QColor rwColor, QColor backColor);
    QList<QColor> sectionsRWL(int ledNum, int rwLedNum, int rwSpacing, int rwSections, int rwDelayFrame, QColor rwColor, QColor backColor);


signals:

};

#endif // EFFECTEDIT_H
